
function submit(driver){
	$.loadingT(true);
	$.post("/connector/save", {"json":JSON.stringify(driver)}, function(data) {
		$.loadingT(false);
        if(data.success==true){
        	bootGrowl("修改连接器成功!","success");
            backIndexPage();
		}else{
			bootGrowl(data.resultValue,"danger"); 
		}
	});
}

$(function() {
	// 兼容IE PlaceHolder
	$('input[type="text"],input[type="password"],textarea').PlaceHolder();

	//保存
	$("#connectorSubmitBtn").click(function(){
		//check();
	});
	
	//返回
	$("#connectorBackBtn").click(function(){
        // 显示主页
        backIndexPage();
	});
})